<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>API Reference</title>

    <link rel="stylesheet" href="css/style.css" />
    <script src="js/all.js"></script>


          <script>
        $(function() {
            setupLanguages(["bash","javascript","python"]);
        });
      </script>
      </head>

  <body class="">
    <a href="#" id="nav-button">
      <span>
        NAV
        <img src="images/navbar.png" />
      </span>
    </a>
    <div class="tocify-wrapper">
        <img src="images/logo.png" />
                    <div class="lang-selector">
                                  <a href="#" data-language-name="bash">bash</a>
                                  <a href="#" data-language-name="javascript">javascript</a>
                                  <a href="#" data-language-name="python">python</a>
                            </div>
                            <div class="search">
              <input type="text" class="search" id="input-search" placeholder="Search">
            </div>
            <ul class="search-results"></ul>
              <div id="toc">
      </div>
            </div>
    <div class="page-wrapper">
      <div class="dark-box"></div>
      <div class="content">
          <!-- START_INFO -->
<h1>Info</h1>
<p>Welcome to the generated API reference.
<a href="http://127.0.0.1:8000/docs/collection.json">Get Postman Collection</a></p>
<!-- END_INFO -->
<h1>general</h1>
<!-- START_c3fa189a6c95ca36ad6ac4791a873d23 -->
<h2>小程序用户登录</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/login" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/login");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/login</code></p>
<!-- END_c3fa189a6c95ca36ad6ac4791a873d23 -->
<!-- START_53df291a483051d9d8c53cd7d970c0bd -->
<h2>api/industry</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/industry" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/industry");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 1,
    "message": "请求数据成功",
    "data": [
        {
            "industry_id": 1,
            "name": "食品行业",
            "created_at": "2019-03-01 06:30:54",
            "updated_at": "2019-03-07 16:00:52"
        },
        {
            "industry_id": 2,
            "name": "金属表面处理",
            "created_at": "2019-03-01 06:31:02",
            "updated_at": "2019-03-07 16:01:01"
        },
        {
            "industry_id": 3,
            "name": "化妆品行业",
            "created_at": "2019-03-13 11:09:29",
            "updated_at": "2019-03-13 11:09:29"
        },
        {
            "industry_id": 4,
            "name": "电子产品",
            "created_at": "2019-03-13 11:09:39",
            "updated_at": "2019-03-13 11:09:39"
        },
        {
            "industry_id": 5,
            "name": "生物医药",
            "created_at": "2019-03-13 14:07:42",
            "updated_at": "2019-03-13 14:07:42"
        }
    ]
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/industry</code></p>
<!-- END_53df291a483051d9d8c53cd7d970c0bd -->
<!-- START_67271873887e80d77d1c1f484fd52218 -->
<h2>api/source</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/source" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/source");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 1,
    "message": "请求数据成功",
    "data": [
        {
            "source_id": 1,
            "name": "58同城",
            "created_at": "2019-03-01 06:33:52",
            "updated_at": "2019-03-07 11:35:54"
        },
        {
            "source_id": 2,
            "name": "百度搜索",
            "created_at": "2019-03-01 06:33:59",
            "updated_at": "2019-03-07 11:40:01"
        },
        {
            "source_id": 3,
            "name": "腾讯新闻",
            "created_at": "2019-03-07 11:37:25",
            "updated_at": "2019-03-07 11:37:25"
        },
        {
            "source_id": 4,
            "name": "朋友转介绍",
            "created_at": "2019-03-07 11:39:03",
            "updated_at": "2019-03-07 11:39:03"
        },
        {
            "source_id": 5,
            "name": "百度信息流",
            "created_at": "2019-03-07 11:40:07",
            "updated_at": "2019-03-07 11:40:07"
        },
        {
            "source_id": 6,
            "name": "微信朋友圈",
            "created_at": "2019-03-07 11:40:33",
            "updated_at": "2019-03-07 11:40:33"
        }
    ]
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/source</code></p>
<!-- END_67271873887e80d77d1c1f484fd52218 -->
<!-- START_2bef84a317c254903c391ea09b6dda16 -->
<h2>api/project</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/project" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/project");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 0,
    "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_display' in 'where clause' (SQL: select * from `project` where `is_display` = 1)"
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/project</code></p>
<!-- END_2bef84a317c254903c391ea09b6dda16 -->
<!-- START_3d5202ea77663113936762c88219f462 -->
<h2>api/area</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/area" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/area");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 1,
    "message": "请求数据成功",
    "data": [
        {
            "id": 1,
            "name": "500",
            "created_at": "2019-03-06 23:50:59",
            "updated_at": "2019-03-06 23:50:59"
        },
        {
            "id": 2,
            "name": "1000~2000",
            "created_at": "2019-03-07 16:00:33",
            "updated_at": "2019-03-07 16:00:40"
        },
        {
            "id": 3,
            "name": "2000~3000",
            "created_at": "2019-03-13 11:07:35",
            "updated_at": "2019-03-13 11:07:35"
        },
        {
            "id": 4,
            "name": "3000-4000",
            "created_at": "2019-03-13 11:08:22",
            "updated_at": "2019-03-13 11:08:22"
        },
        {
            "id": 5,
            "name": "4000-5000",
            "created_at": "2019-03-13 11:08:30",
            "updated_at": "2019-03-13 11:08:30"
        },
        {
            "id": 6,
            "name": "5000-8000",
            "created_at": "2019-03-13 11:08:39",
            "updated_at": "2019-03-13 11:08:39"
        },
        {
            "id": 7,
            "name": "8000-10000",
            "created_at": "2019-03-13 11:08:46",
            "updated_at": "2019-03-13 11:08:46"
        },
        {
            "id": 8,
            "name": "10000以上",
            "created_at": "2019-03-13 11:08:56",
            "updated_at": "2019-03-13 11:08:56"
        }
    ]
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/area</code></p>
<!-- END_3d5202ea77663113936762c88219f462 -->
<!-- START_821e538400ee7ca2627ba5a9aa6c09d6 -->
<h2>api/demand</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/demand" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/demand");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 1,
    "message": "请求数据成功",
    "data": [
        {
            "id": 1,
            "name": "求购",
            "created_at": "2019-03-06 23:34:18",
            "updated_at": "2019-03-06 23:34:18"
        },
        {
            "id": 2,
            "name": "求租",
            "created_at": "2019-03-07 16:03:24",
            "updated_at": "2019-03-07 16:03:24"
        },
        {
            "id": 3,
            "name": "出售",
            "created_at": "2019-03-29 15:50:18",
            "updated_at": "2019-03-29 15:50:18"
        }
    ]
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/demand</code></p>
<!-- END_821e538400ee7ca2627ba5a9aa6c09d6 -->
<!-- START_6e7e2bdf41dacf38a5c6768ef817e8b6 -->
<h2>api/upload</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/upload" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/upload");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/upload</code></p>
<!-- END_6e7e2bdf41dacf38a5c6768ef817e8b6 -->
<!-- START_870bf63abf3dc69f41deebe65c0fb6e1 -->
<h2>api/baidu/form</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/baidu/form" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/baidu/form");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/baidu/form</code></p>
<!-- END_870bf63abf3dc69f41deebe65c0fb6e1 -->
<!-- START_27633c99a27a71dab65c1045a7f75763 -->
<h2>api/tengxun/form</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/tengxun/form" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/tengxun/form");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/tengxun/form</code></p>
<!-- END_27633c99a27a71dab65c1045a7f75763 -->
<!-- START_c5410aa57cbff327cd78ca30a950f041 -->
<h2>api/coustomer/create</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/coustomer/create" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/coustomer/create");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/coustomer/create</code></p>
<!-- END_c5410aa57cbff327cd78ca30a950f041 -->
<!-- START_ed8ced07a2186d44fa31e6f39b573d1c -->
<h2>api/permission</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/permission" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/permission");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 1,
    "message": "请求数据成功",
    "data": []
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/permission</code></p>
<!-- END_ed8ced07a2186d44fa31e6f39b573d1c -->
<!-- START_0bbe40a9bccfed6c132c365362074967 -->
<h2>客户列表</h2>
<p><br><small style="padding: 1px 9px 2px;font-weight: bold;white-space: nowrap;color: #ffffff;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #3a87ad;">Requires authentication</small></p>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/coustomer" \
    -H "Authorization: Bearer {token}" \
    -H "Content-Type: application/json" \
    -d '{"industry_id":0,"project_id":0,"source_id":0,"search_key":"","time":"qxyRQkfUFGZ9JQK2"}'
</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/coustomer");

let headers = {
    "Authorization": "Bearer {token}",
    "Content-Type": "application/json",
    "Accept": "application/json",
}

let body = {
    "industry_id": 0,
    "project_id": 0,
    "source_id": 0,
    "search_key": "",
    "time": "qxyRQkfUFGZ9JQK2"
}

fetch(url, {
    method: "GET",
    headers: headers,
    body: body
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 0,
    "message": "Undefined variable: start_time"
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/coustomer</code></p>
<h4>Body Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Status</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>industry_id</td>
<td>integer</td>
<td>required</td>
<td>客户id.</td>
</tr>
<tr>
<td>project_id</td>
<td>integer</td>
<td>optional</td>
<td>项目id</td>
</tr>
<tr>
<td>source_id</td>
<td>integer</td>
<td>optional</td>
<td>来源id</td>
</tr>
<tr>
<td>search_key</td>
<td>string</td>
<td>optional</td>
<td>搜索key名字手机号</td>
</tr>
<tr>
<td>time</td>
<td>string</td>
<td>optional</td>
<td>yesterday week mouth</td>
</tr>
</tbody>
</table>
<!-- END_0bbe40a9bccfed6c132c365362074967 -->
<!-- START_f91feb965bf7bede3f78f7a21268ff3b -->
<h2>api/decryptData</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/decryptData" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/decryptData");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/decryptData</code></p>
<!-- END_f91feb965bf7bede3f78f7a21268ff3b -->
<!-- START_61739f3220a224b34228600649230ad1 -->
<h2>业务员退出</h2>
<p><br><small style="padding: 1px 9px 2px;font-weight: bold;white-space: nowrap;color: #ffffff;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #3a87ad;">Requires authentication</small></p>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/logout" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/logout");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/logout</code></p>
<!-- END_61739f3220a224b34228600649230ad1 -->
<!-- START_c65efb88faa64dbf57eeff81a9c76ab7 -->
<h2>刷新token</h2>
<p><br><small style="padding: 1px 9px 2px;font-weight: bold;white-space: nowrap;color: #ffffff;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #3a87ad;">Requires authentication</small></p>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/refresh/token" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/refresh/token");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/refresh/token</code></p>
<!-- END_c65efb88faa64dbf57eeff81a9c76ab7 -->
<!-- START_10f5be1ceb3401516ec1e164c33827d3 -->
<h2>api/follow/create</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/follow/create" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/follow/create");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/follow/create</code></p>
<!-- END_10f5be1ceb3401516ec1e164c33827d3 -->
<!-- START_40484213d38bb99f01f14e97a50b0e67 -->
<h2>客户详情</h2>
<p><br><small style="padding: 1px 9px 2px;font-weight: bold;white-space: nowrap;color: #ffffff;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #3a87ad;">Requires authentication</small></p>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/coustomer/detail" \
    -H "Authorization: Bearer {token}" \
    -H "Content-Type: application/json" \
    -d '{"customer_id":4}'
</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/coustomer/detail");

let headers = {
    "Authorization": "Bearer {token}",
    "Content-Type": "application/json",
    "Accept": "application/json",
}

let body = {
    "customer_id": 4
}

fetch(url, {
    method: "GET",
    headers: headers,
    body: body
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 0,
    "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_display' in 'where clause' (SQL: select * from `project` where `project`.`project_id` in (1) and `is_display` = 1)"
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/coustomer/detail</code></p>
<h4>Body Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Status</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>customer_id</td>
<td>integer</td>
<td>required</td>
<td>客户id.</td>
</tr>
</tbody>
</table>
<!-- END_40484213d38bb99f01f14e97a50b0e67 -->
<!-- START_1c07ce4a198ff06c2c5a72d6a5272149 -->
<h2>api/record</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/record" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/record");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 0,
    "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_display' in 'where clause' (SQL: select * from `project` where `project_id` in (3, 4, 5) and `is_display` = 1)"
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/record</code></p>
<!-- END_1c07ce4a198ff06c2c5a72d6a5272149 -->
<!-- START_148ec8e1d2a48d3697c4c1d72ff5e506 -->
<h2>管理客户列表</h2>
<p><br><small style="padding: 1px 9px 2px;font-weight: bold;white-space: nowrap;color: #ffffff;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #3a87ad;">Requires authentication</small></p>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/customer/list" \
    -H "Authorization: Bearer {token}" \
    -H "Content-Type: application/json" \
    -d '{"industry_id":0,"project_id":0,"source_id":0,"search_key":""}'
</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/customer/list");

let headers = {
    "Authorization": "Bearer {token}",
    "Content-Type": "application/json",
    "Accept": "application/json",
}

let body = {
    "industry_id": 0,
    "project_id": 0,
    "source_id": 0,
    "search_key": ""
}

fetch(url, {
    method: "GET",
    headers: headers,
    body: body
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 1,
    "message": "请求数据成功",
    "data": [],
    "links": {
        "first": "http:\/\/localhost\/api\/customer\/list?page=1",
        "last": "http:\/\/localhost\/api\/customer\/list?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": null,
        "last_page": 1,
        "path": "http:\/\/localhost\/api\/customer\/list",
        "per_page": 10,
        "to": null,
        "total": 0
    }
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/customer/list</code></p>
<h4>Body Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Status</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>industry_id</td>
<td>integer</td>
<td>optional</td>
<td>行业id.</td>
</tr>
<tr>
<td>project_id</td>
<td>integer</td>
<td>optional</td>
<td>项目id</td>
</tr>
<tr>
<td>source_id</td>
<td>integer</td>
<td>optional</td>
<td>来源id</td>
</tr>
<tr>
<td>search_key</td>
<td>string</td>
<td>optional</td>
<td>搜索key名字手机号</td>
</tr>
</tbody>
</table>
<!-- END_148ec8e1d2a48d3697c4c1d72ff5e506 -->
<!-- START_78509456d6957cadc7114d6a6b6035b2 -->
<h2>api/customer/allot</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/customer/allot" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/customer/allot");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/customer/allot</code></p>
<!-- END_78509456d6957cadc7114d6a6b6035b2 -->
<!-- START_ff7b88f95c40ec66be3beb146255fa3c -->
<h2>api/customer/updateStatus</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/customer/updateStatus" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/customer/updateStatus");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/customer/updateStatus</code></p>
<!-- END_ff7b88f95c40ec66be3beb146255fa3c -->
<!-- START_a276e5a9c47d691122a29022cb6bc875 -->
<h2>api/bind/mobile</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/bind/mobile" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/bind/mobile");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/bind/mobile</code></p>
<!-- END_a276e5a9c47d691122a29022cb6bc875 -->
<!-- START_6d5b98b90f9e28994f6a8b02569fd244 -->
<h2>api/user/form/create</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/user/form/create" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/user/form/create");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/user/form/create</code></p>
<!-- END_6d5b98b90f9e28994f6a8b02569fd244 -->
<!-- START_ba5f96c20dcee41796e4fe015aa41d2e -->
<h2>业务员列表根据不同项目筛选</h2>
<p><br><small style="padding: 1px 9px 2px;font-weight: bold;white-space: nowrap;color: #ffffff;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #3a87ad;">Requires authentication</small></p>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/user/list" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/user/list");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 1,
    "message": "请求数据成功",
    "data": [
        {
            "groupName": "J",
            "users": [
                {
                    "id": 5,
                    "name": "Jelly",
                    "email": null,
                    "created_at": "2019-03-07 15:42:24",
                    "updated_at": "2019-03-07 15:42:24",
                    "mobile": "18926181593",
                    "project_id": [
                        "1",
                        "2",
                        "3",
                        "5"
                    ],
                    "address": null,
                    "avatar": "https:\/\/wx.qlogo.cn\/mmopen\/vi_32\/3bff6gDcbTG2VyeQw6bibwPRahJ0Ywd1AxQ6ICsiaycAPnS1aibpdgU6plAV9j3b87sWshqhB1rjDgaDxu7HHlzeg\/132",
                    "is_passed": 1,
                    "session_key": "HuLDAcMmJi\/I1rkA0G3qDQ==",
                    "nickname": "Jelly",
                    "city": "Guangzhou",
                    "gender": null,
                    "province": "Guangdong",
                    "user_id": 9,
                    "openid": "odEf-44okg54TtNOwzm0Gul0q9Us",
                    "groupName": "J"
                }
            ]
        },
        {
            "groupName": "g",
            "users": [
                {
                    "id": 6,
                    "name": "郭地福",
                    "email": null,
                    "created_at": "2019-03-07 17:49:51",
                    "updated_at": "2019-03-07 17:49:51",
                    "mobile": "18665555163",
                    "project_id": [
                        "1",
                        "2",
                        "3",
                        "4",
                        "5",
                        "6"
                    ],
                    "address": null,
                    "avatar": "https:\/\/wx.qlogo.cn\/mmopen\/vi_32\/ic8nuibC1L27iblRqib8F6sU2p7cPiaymic2m26FFlE9iaYAFicJ1vy7jj11THqrsRuHNZx2AV9h5GQESmg1MlFloCQ1SQ\/132",
                    "is_passed": 1,
                    "session_key": "yy4Xa3x3TyOOMi0R2lVtUw==",
                    "nickname": "Dave",
                    "city": "Guangzhou",
                    "gender": null,
                    "province": "Guangdong",
                    "user_id": 10,
                    "openid": "odEf-4xlAJUdTvO06TPBclxs0e5k",
                    "groupName": "g"
                }
            ]
        },
        {
            "groupName": "h",
            "users": [
                {
                    "id": 7,
                    "name": "黄锐",
                    "email": null,
                    "created_at": "2019-03-08 11:38:15",
                    "updated_at": "2019-03-08 11:38:15",
                    "mobile": null,
                    "project_id": [
                        "3",
                        "4",
                        "5"
                    ],
                    "address": null,
                    "avatar": "https:\/\/wx.qlogo.cn\/mmopen\/vi_32\/iaamjiay2e3eAgIWsx6owEiatY4vibH3LpQqDwT2LdjI2pEOzFGKESIWvX1vjeBrWSq5SMja40nY7BP37Q7qUiaSvhg\/132",
                    "is_passed": 1,
                    "session_key": null,
                    "nickname": "黄锐",
                    "city": "Guangzhou",
                    "gender": null,
                    "province": "Guangdong",
                    "user_id": 11,
                    "openid": "odEf-4_lUkFml4TEZLuPMFp_dSfI",
                    "groupName": "h"
                }
            ]
        }
    ]
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/user/list</code></p>
<!-- END_ba5f96c20dcee41796e4fe015aa41d2e -->
<!-- START_3fb331eaf81241fa538d1175692af1f5 -->
<h2>V2版项目列表 根据不同项目筛选</h2>
<p><br><small style="padding: 1px 9px 2px;font-weight: bold;white-space: nowrap;color: #ffffff;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #3a87ad;">Requires authentication</small></p>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/v2/project" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/v2/project");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 0,
    "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_display' in 'where clause' (SQL: select * from `project` where `project_id` in (3, 4, 5) and `is_display` = 1)"
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/v2/project</code></p>
<!-- END_3fb331eaf81241fa538d1175692af1f5 -->
<!-- START_24f88be5ca1702c4e128afd242a7e4bd -->
<h2>提交跟进v2</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/v2/follow/create" \
    -H "Authorization: Bearer {token}" \
    -H "Content-Type: application/json" \
    -d '{"customer_id":0,"desc":"\u63cf\u8ff0","image":"null","follow_status":"null","time":"null","sign":"3,2"}'
</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/v2/follow/create");

let headers = {
    "Authorization": "Bearer {token}",
    "Content-Type": "application/json",
    "Accept": "application/json",
}

let body = {
    "customer_id": 0,
    "desc": "\u63cf\u8ff0",
    "image": "null",
    "follow_status": "null",
    "time": "null",
    "sign": "3,2"
}

fetch(url, {
    method: "POST",
    headers: headers,
    body: body
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/v2/follow/create</code></p>
<h4>Body Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Status</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>customer_id</td>
<td>integer</td>
<td>required</td>
<td>客户id.</td>
</tr>
<tr>
<td>desc</td>
<td>string</td>
<td>required</td>
<td>描述.</td>
</tr>
<tr>
<td>image</td>
<td>string</td>
<td>required</td>
<td>图片.</td>
</tr>
<tr>
<td>follow_status</td>
<td>string</td>
<td>optional</td>
<td>状态.</td>
</tr>
<tr>
<td>time</td>
<td>string</td>
<td>optional</td>
<td>状态.</td>
</tr>
<tr>
<td>sign</td>
<td>string</td>
<td>optional</td>
<td>客户类型</td>
</tr>
</tbody>
</table>
<!-- END_24f88be5ca1702c4e128afd242a7e4bd -->
<!-- START_260b213ea280400c884ce7a63b438dda -->
<h2>获取跟进状态</h2>
<p><br><small style="padding: 1px 9px 2px;font-weight: bold;white-space: nowrap;color: #ffffff;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #3a87ad;">Requires authentication</small></p>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/v2/follow/status" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/v2/follow/status");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "code": 1,
    "message": "请求数据成功",
    "data": {
        "To_Be_Follow_up": "已到访",
        "Completed": "已成交",
        "Unintentional": "无意向"
    }
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/v2/follow/status</code></p>
<!-- END_260b213ea280400c884ce7a63b438dda -->
<!-- START_ad79cd010ccb08a3ce21008adbbb9023 -->
<h2>总经理首页</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/v2/record1" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/v2/record1");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 0,
    "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_display' in 'where clause' (SQL: select * from `project` where `project_id` in (3, 4, 5) and `is_display` = 1)"
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/v2/record1</code></p>
<!-- END_ad79cd010ccb08a3ce21008adbbb9023 -->
<!-- START_15c9f9e2c77083e8cb3dbd66377c3f83 -->
<h2>顾客类型接口</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/v2/customerSign" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/v2/customerSign");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 1,
    "message": "请求数据成功",
    "data": [
        {
            "id": 1,
            "name": "跟进中",
            "created_at": "2019-04-02 16:17:20",
            "updated_at": "2019-04-02 16:17:20",
            "text_color": "#893939",
            "bg_color": "#2a6c91"
        },
        {
            "id": 2,
            "name": "无意向",
            "created_at": "2019-03-30 04:30:07",
            "updated_at": "2019-03-30 04:30:07",
            "text_color": null,
            "bg_color": null
        }
    ]
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/v2/customerSign</code></p>
<!-- END_15c9f9e2c77083e8cb3dbd66377c3f83 -->
<!-- START_2756eb46d1947755b436ce27f7101bbb -->
<h2>查询消费</h2>
<p><br><small style="padding: 1px 9px 2px;font-weight: bold;white-space: nowrap;color: #ffffff;-webkit-border-radius: 9px;-moz-border-radius: 9px;border-radius: 9px;background-color: #3a87ad;">Requires authentication</small></p>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/v2/xiaofei" \
    -H "Authorization: Bearer {token}" \
    -H "Content-Type: application/json" \
    -d '{"project_id":0,"created_at":"2019-3-15 00:00:00"}'
</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/v2/xiaofei");

let headers = {
    "Authorization": "Bearer {token}",
    "Content-Type": "application/json",
    "Accept": "application/json",
}

let body = {
    "project_id": 0,
    "created_at": "2019-3-15 00:00:00"
}

fetch(url, {
    method: "GET",
    headers: headers,
    body: body
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 0,
    "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_display' in 'where clause' (SQL: select * from `project` where `project`.`project_id` = 0 and `is_display` = 1 limit 1)"
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/v2/xiaofei</code></p>
<h4>Body Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Status</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>project_id</td>
<td>integer</td>
<td>required</td>
<td>项目id.</td>
</tr>
<tr>
<td>created_at</td>
<td>time</td>
<td>required</td>
<td>查询日期分0时</td>
</tr>
</tbody>
</table>
<!-- END_2756eb46d1947755b436ce27f7101bbb -->
<!-- START_d27ef30f47ca8cda3472f71be2f2a222 -->
<h2>提交消费</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X POST "http://127.0.0.1:8000/api/v2/xiaofei" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/v2/xiaofei");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "POST",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<h3>HTTP Request</h3>
<p><code>POST api/v2/xiaofei</code></p>
<!-- END_d27ef30f47ca8cda3472f71be2f2a222 -->
<!-- START_b953477b69c8195cfa33a9108359fa5b -->
<h2>报表</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/v2/baobiao" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/v2/baobiao");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "code": 1,
    "data": {
        "qudao": {
            "data": [
                {
                    "id": 1,
                    "num": 13,
                    "value": "100.00",
                    "name": "58同城"
                },
                {
                    "id": 2,
                    "num": 0,
                    "value": "0.00",
                    "name": "百度搜索"
                },
                {
                    "id": 3,
                    "num": 0,
                    "value": "0.00",
                    "name": "腾讯新闻"
                },
                {
                    "id": 4,
                    "num": 0,
                    "value": "0.00",
                    "name": "朋友转介绍"
                },
                {
                    "id": 5,
                    "num": 0,
                    "value": "0.00",
                    "name": "百度信息流"
                },
                {
                    "id": 6,
                    "num": 0,
                    "value": "0.00",
                    "name": "微信朋友圈"
                }
            ],
            "total": 13
        },
        "quyu": {
            "data": [
                {
                    "id": 1,
                    "value": "46.15",
                    "name": "其他城市",
                    "num": 6
                },
                {
                    "id": 2,
                    "value": "53.85",
                    "name": "广州市",
                    "num": 7
                }
            ],
            "total": 13
        },
        "mianji": {
            "data": [
                {
                    "id": 1,
                    "value": 600,
                    "num": 6,
                    "name": "500"
                },
                {
                    "id": 2,
                    "value": 0,
                    "num": 0,
                    "name": "1000~2000"
                },
                {
                    "id": 3,
                    "value": 0,
                    "num": 0,
                    "name": "2000~3000"
                },
                {
                    "id": 4,
                    "value": 0,
                    "num": 0,
                    "name": "3000-4000"
                },
                {
                    "id": 5,
                    "value": 0,
                    "num": 0,
                    "name": "4000-5000"
                },
                {
                    "id": 6,
                    "value": 0,
                    "num": 0,
                    "name": "5000-8000"
                },
                {
                    "id": 7,
                    "value": 0,
                    "num": 0,
                    "name": "8000-10000"
                },
                {
                    "id": 8,
                    "value": 100,
                    "num": 1,
                    "name": "10000以上"
                }
            ],
            "total": 700
        },
        "leixing": {
            "data": [
                {
                    "id": 1,
                    "value": "50.00",
                    "name": "跟进中"
                },
                {
                    "id": 2,
                    "value": "50.00",
                    "name": "无意向"
                }
            ],
            "total": 100
        },
        "lastD": {
            "total": 13,
            "month": [
                "10月",
                "11月",
                "12月",
                "1月",
                "2月",
                "3月"
            ],
            "data": [
                {
                    "name": "58同城",
                    "type": "line",
                    "stack": "总量",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        13
                    ]
                },
                {
                    "name": "百度搜索",
                    "type": "line",
                    "stack": "总量",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                {
                    "name": "腾讯新闻",
                    "type": "line",
                    "stack": "总量",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                {
                    "name": "朋友转介绍",
                    "type": "line",
                    "stack": "总量",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                {
                    "name": "百度信息流",
                    "type": "line",
                    "stack": "总量",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                },
                {
                    "name": "微信朋友圈",
                    "type": "line",
                    "stack": "总量",
                    "data": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                    ]
                }
            ]
        }
    }
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/v2/baobiao</code></p>
<!-- END_b953477b69c8195cfa33a9108359fa5b -->
<h1>业务员管理</h1>
<!-- START_2b6e5a4b188cb183c7e59558cce36cb6 -->
<h2>用户信息</h2>
<blockquote>
<p>Example request:</p>
</blockquote>
<pre><code class="language-bash">curl -X GET -G "http://127.0.0.1:8000/api/user" \
    -H "Authorization: Bearer {token}"</code></pre>
<pre><code class="language-javascript">const url = new URL("http://127.0.0.1:8000/api/user");

let headers = {
    "Authorization": "Bearer {token}",
    "Accept": "application/json",
    "Content-Type": "application/json",
}

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response =&gt; response.json())
    .then(json =&gt; console.log(json));</code></pre>
<blockquote>
<p>Example response (200):</p>
</blockquote>
<pre><code class="language-json">{
    "status": 1,
    "message": "请求数据成功",
    "data": [
        {
            "id": 11,
            "name": "黄锐",
            "email": null,
            "created_at": "2019-03-08 11:38:15",
            "updated_at": "2019-03-28 16:01:31",
            "mobile": null,
            "project_id": [
                "3",
                "4",
                "5"
            ],
            "address": null,
            "avatar": null,
            "is_passed": 1,
            "session_key": null,
            "groupName": "h"
        }
    ]
}</code></pre>
<h3>HTTP Request</h3>
<p><code>GET api/user</code></p>
<!-- END_2b6e5a4b188cb183c7e59558cce36cb6 -->
      </div>
      <div class="dark-box">
                        <div class="lang-selector">
                                    <a href="#" data-language-name="bash">bash</a>
                                    <a href="#" data-language-name="javascript">javascript</a>
                                    <a href="#" data-language-name="python">python</a>
                              </div>
                </div>
    </div>
  </body>
</html>